package com.preskool.mapper;

import com.preskool.po.Student;

import java.util.List;

public interface StudentMapper {
    int deleteByPrimaryKey(Integer sid);

    int insert(Student record);

    int insertSelective(Student record);

    List<Student> findAll(Integer currentPage, Integer pageSize);

    Student selectByPrimaryKey(Integer sid);

    int updateByPrimaryKeySelective(int record);

    int updateByPrimaryKey(Student record);

    Student selectStudentByUsername(String username);

    Student selectStudentByEmail(String email);
}